You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > SetSingle Method > Vector.SetSingle Method (bool, [In] float[])
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.SetSingle Method (bool, [In] float[])

Sets vector values (single).

Syntax
C#
Visual Basic
public TVec SetSingle(bool AComplex, [In] float[] A);

Sets the Length property of the calling vector to (High(A)+1) and the Complex property to AComplex. The single elements of A array are copied to the calling vector. If AComplex is True then real parts of complex numbers are on even (0,2,4..)and imaginary parts on odd indexes.(1,3,5,..) 

Note Use this method for single array only.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!